<a href="http://coherence.beebits.net">Coherence</a> - a Python DLNA/UPnP framework for the Digital Living<p>Hosting:<ul>%s</ul></p></body></html>""" % self.listchilds(request.uri)
class WebServer(log.Loggable):
logCategory = 'webserver'
def __init__(self, ui, port, coherence):
try:
if ui != 'yes':
""" use this to jump out here if we do not want
the web ui """
raise ImportError
self.warning("Web UI not supported atm, will return with version 0.7.0")
raise ImportError
from nevow import __version_info__, __version__
if __version_info__ <(0,9,17):
self.warning( "Nevow version %s too old, disabling WebUI" % __version__)
raise ImportError
from nevow import appserver, inevow
from coherence.web.ui import Web, IWeb, WebUI
from twisted.python.components import registerAdapter